var ctx;
var height;
function setCtx(ctx){
	this.ctx = ctx;
	changeButtonPadTop();
}
//鼠标滑入一行改变背景颜色
function mouseoverOne(target){
	 $(target).children().each(function(){
		  	    $(this).css("background","#D3F0F1");
		     });
}

//鼠标滑出一行恢复原来的背景颜色
function mouseoutOne(target){
	 $(target).children().each(function(){
	  	    $(this).css("background","");
	     });
}

function cancel(){
	loadContent("/orderInfo/orderInfoList");
}
function mouseOver(){
	$("button").removeClass("buttonCancle");
	$("button").addClass("buttonEdit");
}
function mouseLeave(){
	$("button").removeClass("buttonEdit");
	$("button").addClass("buttonCancle");
}
//改变返回按钮的高度
function changeButtonPadTop(){
	height = $(".table").height() + 30;
	$("#button_cancel").css("padding-top",height);
}